package com.itnoob.logger.impl;

import com.itnoob.log.Logger;
import com.itnoob.logger.AbstractLogger;

/**
 * 简单格式的日志输出
 * @author zhoujun
 * @date 2025/3/20 22:36
 */
public class SimpleLoggerImpl extends AbstractLogger {

    public SimpleLoggerImpl(Logger logger) {
        super(logger);
    }

    @Override
    public void info(String message) {
        logger.log("Info:" + message);
    }

    @Override
    public void warn(String message) {
        logger.log("warn:" + message);
    }

    @Override
    public void error(String message) {
        logger.log("warn:" + message);
    }
}
